package com.vcredit.creditcat.persistence.base;

import com.vcredit.creditcat.model.Cust;
import com.vcredit.framework.pagination.DefaultCriteria;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface CustMapper {
	void insert(Cust obj);

	void update(Cust obj);

	List<Cust> findAll();

	List<Cust> find(Cust obj);

	Cust findById(Long id);

	List<Cust> findByPage(DefaultCriteria criteria);

	Cust findByIdNo(@Param("idNo") String idNo);
}
